package com.entor.model;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Dues extends BaseClass{
	
	private Integer dues;
	private Integer month;
	private Integer pay;
	private Integer newpay;
	private Integer owe;
	private String pmbranch;
	private Date endday;
	private String endthday;
	
	
	
	public Date getEndday() {
		return endday;
	}
	public void setEndday(Date endday) {
		this.endday = endday;
	}
	public String getEndthday() {
		if(endday==null) return endthday;
		SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");
		return df.format(endday);
		
	}
	public void setEndthday(String endthday) {
		this.endthday = endthday;
	}
	public Integer getNewpay() {
		return newpay;
	}
	public void setNewpay(Integer newpay) {
		this.newpay = newpay;
	}
	public String getPmbranch() {
		return pmbranch;
	}
	public void setPmbranch(String pmbranch) {
		this.pmbranch = pmbranch;
	}
	public Integer getDues() {
		return dues;
	}
	public void setDues(Integer dues) {
		this.dues = dues;
	}
	public Integer getMonth() {
		return month;
	}
	public void setMonth(Integer month) {
		this.month = month;
	}
	public Integer getPay() {
		return pay;
	}
	public void setPay(Integer pay) {
		this.pay = pay;
	}
	public Integer getOwe() {
		return owe;
	}
	public void setOwe(Integer owe) {
		this.owe = owe;
	}


}
